package com.myGis.services;

import java.io.File;

import com.myGis.entities.Layer;
import com.myGis.entities.Project;
import com.myGis.entities.User;
import com.myGis.entities.ValueField;

public interface IMyGisServices {

	public User loguinUser(String name, String pass);

	public void saveLayerBasic(File file, Project project, Layer layer) throws Exception;
	
	public void saveLayerCustom(Project project, Layer layer);
	
	public String getKml(Layer layer) throws Exception;
	
	public void createProject(Project project, User user);
	
	public boolean update(Object o);
	
	public boolean save(Object o);
	
	public ValueField findValueFieldById(Long id);
}
